<template>
  <div class="container">
    <data-view
      propViewKey="base_matr_his"
      propViewForm="base/matr-his/detail.vue"
      :propFlowKey="propFlowKey"
      :propIsTdesign="true"
      @extra-button-click="extraButtonClick"
    />
  </div>
</template>

<script>

export default {
  name: 'matrhis',
  data() {
    return {

    }
  },
  components: {

  },
  methods: {
    extraButtonClick(para) {
      console.log(para)
      let {key: buttonKey} = para.button
       if (buttonKey == 'viewAdjust') {
        this.utilSelect.openReportAdjust(null,para.data.hisCode)
      }
    }
  },
  props: ['propFlowKey'],
}
</script>

<style lang="scss" scoped>
  .container {
    height: 100%;
    background-color: #fff;
  }
</style>
